package com.chun.service;

import com.chun.pojo.DegreeCountDTO;
import com.chun.pojo.PageBean;
import com.chun.pojo.Student;
import com.chun.pojo.StudentCountDTO;

import java.util.List;

public interface StudentService {
    PageBean getStudents(String name, Integer degree, Integer clazzId, Integer page, Integer pageSize);

    void deleteStudentByIds(Integer[] ids);

    void addStudent(Student student);

    Student getStudentById(Integer id);

    void updateStudent(Student student);

    void updateStudentScore(Integer id, Integer score);

    List<DegreeCountDTO> getStudentDegreeData();

    List<StudentCountDTO> getStudentCountData();
}
